#pragma once 

#include <iostream>
#include <string>
#include <ctime>

#define NORMAL 0
#define WARNING 1
#define FATAL 2
#define ERROR 3
#define DEBUG 4

#define LOG(LEVEL, MESSAGE) log(#LEVEL, MESSAGE, __FILE__, __LINE__)

void log(std::string level, std::string message, std::string file, int line){
	std::cout << "[" << level << "]" << "[" << time(nullptr) << "]" << "[" << message << "]" << "[" << file << ":" << line << "]" <<std::endl;
}